package com.jie.other.compose.study02

import androidx.compose.foundation.layout.padding
import androidx.compose.material.Scaffold
import androidx.compose.runtime.Composable
import androidx.compose.ui.Modifier
import androidx.compose.ui.tooling.preview.Preview

/**
 * 页面根组件
 */
@Preview
@Composable
fun StudyO2Page(backClick: () -> Unit = {}) {
    Scaffold(
        bottomBar = {
            SootheBottomNavigation()
        }
    ) {
        Screen(
            modifier = Modifier.padding(it),
            closeClick = backClick,
        )
    }
}